<template>
	<view>
		<u-navbar title="關聯商品" placeholder autoBack>
			<view class="flexright xiaohui" slot="right" @click="jumpurl('/pages/workbench/tianjiaglsp')">添加</view>
		</u-navbar>
		<view class="mainpadding2">
			<view class="mainpadding_top ffffff radius flexleft" v-for="item in 3">
				<image src="../../static/image/system/hujiaofw.png" class="listleftimg margin_right" mode=""></image>
				<view class="">
					<view class="titletext bold hei_text yihang">中通爆米花</view>
					<view class="hui_text main_size margin_top1">單人餐</view>
					<view class="huang_text main_size bold margin_top1">$238</view>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				type:"",//1电影關聯商品，2演唱会關聯商品，3店家券
			}
		},
		onLoad(options) {
			if(options.type){
				this.type = options.type
			}
			
		},
		methods: {
			jumpurl(url){
				uni.navigateTo({
					url
				})
			}
		}
	}
</script>

<style>

</style>
